cmake_minimum_required(VERSION 2.8)

message("Creamos proyecto.")
project(APPS)

set (APPS_TRUNK_DIR "${PROJECT_SOURCE_DIR}")

set(APPS_SRC_DIR "${APPS_TRUNK_DIR}/src")
set(APPS_LIB_DIR "${APPS_TRUNK_DIR}/lib")
set(APPS_BIN_DIR "${APPS_TRUNK_DIR}/bin")
set(APPS_DATA_DIR "${APPS_TRUNK_DIR}/data")

set(LIBRARY_OUTPUT_PATH ${APPS_LIB_DIR})
set(EXECUTABLE_OUTPUT_PATH ${APPS_BIN_DIR})

add_subdirectory (src)

message("Añadidos subdirectorio src")


configure_file( ${APPS_SRC_DIR}/config.h.in ${APPS_SRC_DIR}/config.h )



